<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>





    <!-- 
    <script>
        //直接使用script标签
        console.log("在控制台输出")
    </script> -->
    <!-- 
    <script src="../day01/外部的js.js">
        console.log("内部的js")
    </script> -->

    <!-- <a href="javascript:alert('标签的js')">点击</a> -->

    <!-- 
    <script>
        //获取页面输入
        var a = window.prompt("请输入一个数");
        console.log(a)
    </script> -->

    <script>
        //document输出的方式是可以识别标签的
        // document.write("hello")
        document.write("<h1>DW</h1>")
    </script>



</body>

</html>